package quanlythuvien

class LoaiSach {
	String tenLoaiSach
	int tinhTrang
    static constraints = {
		tenLoaiSach (blank:false, nullable:false, size:3..255)
		tinhTrang (tinhTrang:false)
    }
	String toString(){
		return tenLoaiSach;
	}
	int toInt(){
		return tinhTrang;
	}
}
